<?php

namespace app\validate;

use think\Validate;

class WorkOrderStatisticsValidate extends Validate
{

    /**
     * @return WorkOrderStatisticsValidate
     */
    public function sceneWorkOrderStatistics(): WorkOrderStatisticsValidate
    {
        return $this->append(
            [
                'param.project_id' => 'require|integer',
            ]
        );
    }

}
